package com.ht.module.bus.service;

import cn.hutool.core.lang.tree.Tree;
import com.ht.module.bus.entity.TSchool;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ht.module.bus.vo.SchoolTripVo;
import com.ht.module.bus.vo.StationToNumberVo;
import com.ht.util.Pager;

import java.util.List;

/**
 * <p>
 * 学校信息表 服务类
 * </p>
 *
 * @author hejialun
 * @since 2024-07-29
 */
public interface TSchoolService extends IService<TSchool> {

    Pager<TSchool> findPage(Pager<TSchool> pager, TSchool en);

    List<TSchool> findList(TSchool en);

    Pager<TSchool> findPageAuth(Pager<TSchool> pager, TSchool en);

    List<TSchool> findListAuth(TSchool en);

    List<SchoolTripVo> findTripList(TSchool en);

    void add(TSchool en);

    Pager<StationToNumberVo>findStationToNumber(Pager<StationToNumberVo> pager,TSchool en);

    List<Tree<String>> findDistrictSchoolClassTree();

    List<TSchool> findSchoolClassTree();
}
